﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OneMG.Phoenix.Service.Model;
using OneMG.Phoenix.Service.Contracts;
using OneMG.Phoenix.Service;


namespace OneMG.Phoenix.AdminSite.Views.AdminUser
{
    public partial class Edit : System.Web.UI.Page
    {
        public AdminUserModel objAdminUser;

        IAdminUserService IAdminUser = new AdminUserService();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {

                if (!string.IsNullOrEmpty(Request.QueryString["userid"]))
                {
                    int userID = int.Parse(Request.QueryString["userid"]);

                    objAdminUser = IAdminUser.GetByUserID(userID);
                }
            }

        }
    }
}
